<?php
// <copyright file="AuthenticationType.cs" company="NQtec">
// Copyright (c) 2008, 2009 All Right Reserved, http://www.dqer.com/
// Copyright (c) 2008, 2009 All Right Reserved, http://www.nqtec.com/
//
// This source is part of the DQER library that released under the LGPL.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// </copyright>
// <author>Victor Gatkov</author>
// <email>v.gatkov@nqtec.com</email>
// <email>info@dqer.com</email>
// <date>2008-09-11</date>
// <summary>Contains a base, abstract class for an AuthorisationPolicyProvider</summary>

if(!defined('IN_DQER_003311')){die('');exit;}

 define('DB_STOP',true); // comment this out if you want to use database

 define('DB_SERVER','localhost:3306');
 define('DB_NAME','aaa');
 define('DB_USER','bbb');
 define('DB_PASS','ccc');

 define('DB2_SERVER','192.168.1.102');
 define('DB2_NAME','ddd');
 define('DB2_USER','eee');
 define('DB2_PASS','fff');

 define("TBL_DATA", "pdata");

 define("TBL_ULOG", "ulog");

 define("TBL_POST", "site.post");

 define("TBL_CURR", "site.currency");
 define("TBL_IP", "site.iplist");
 define("TBL_GIP", "site.geoip");
 define("TBL_GTZ", "site.gtz");
 define("TBL_ISO", "site.iso3166");
 define("TBL_LANG", "site.iso639");

 if(!defined('DB_STOP')){
    define('DB_ACTIVE',true);
    require_once(MODULES_PATH."/mysql/mysql.class.php");
    $database = new MySQLDB(DB_SERVER, DB_USER, DB_PASS, DB_NAME);
//    $database2 = new MySQLDB(DB2_SERVER, DB2_USER, DB2_PASS, DB2_NAME);
    if(DEBUG_LEVEL>=2){ob_start();}
    if(DEBUG_LEVEL>=2){echo'# mysql class loaded..<br />';}
 }

?>
